package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.NewsPage;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface NewsPageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NewsPage record);

    NewsPage selectByPrimaryKey(Long id);

    int updateByPrimaryKey(NewsPage record);

    List<NewsPage> selectForList(QueryObject qo);

    List<NewsPage> selectRecommendNews(Long id);
}